package Javatest4.test1;

public class method2 {
    public static void main(String[] args) {
        for (int i = 0; i < 4; i++) {
            for (int z = 0; z < 3-i; z++) {
                System.out.print(" ");
            }
            for (int j = 0; j < 2*i+1; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
